package com.ruoyi.db.domain.web;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import com.ruoyi.db.domain.web.dto.MpBank;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 用户银行卡对象 mp_client_bank
 * 
 * @author ruoyi
 * @date 2022-08-01
 */
@ApiModel(value = "MpClientBank",description = "用户银行卡对象 mp_client_bank")
public class MpClientBank extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户银行卡表ID */
    private Long id;

    /** 银行卡号 */
    @ApiModelProperty(value="银行卡号",name="MpClientBank$bankNumber")
    @Excel(name = "银行卡号")
    private String bankNumber;

    /** 银行开户名 */
    @ApiModelProperty(value="银行开户名",name="MpClientBank$bankAccountName")
    @Excel(name = "银行开户名")
    private String bankAccountName;

    /** 银行名称 */
    @ApiModelProperty(value="银行名称",name="MpClientBank$bankName")
    @Excel(name = "银行名称")
    private String bankName;

    /** 银行开户地址 */
    @ApiModelProperty(value="银行开户地址",name="MpClientBank$bankAddress")
    @Excel(name = "银行开户地址")
    private String bankAddress;

    /** 是否删除 （0.否 1.是） */
    @ApiModelProperty(value="是否删除 ",name="MpClientBank$isDel")
    @Excel(name = "是否删除 ", readConverterExp = "0=.否,1=.是")
    private Integer isDel;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    //短信验证码
    private String code;

    public Long getClientId() {
        return clientId;
    }

    public void setClientId(Long clientId) {
        this.clientId = clientId;
    }

    /**用户主键 */
    @ApiModelProperty(value="用户ID ",name="MpClientBank$clientId")
    @Excel(name = "用户Id ")
    private Long clientId;
    @ApiModelProperty(value="身份证号",name="MpClientBank$idNumber")
    @Excel(name = "身份证号")
    private String idNumber;

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getBankMobile() {
        return bankMobile;
    }

    public void setBankMobile(String bankMobile) {
        this.bankMobile = bankMobile;
    }

    @ApiModelProperty(value="手机号",name="MpClientBank$bankMobile")
    @Excel(name = "手机号")
    private String bankMobile;

    public List<String> getBankNumbers() {
        return bankNumbers;
    }

    public void setBankNumbers(List<String> bankNumbers) {
        this.bankNumbers = bankNumbers;
    }

    private List<String> bankNumbers;
    private List<MpBank> banks;

    public List<MpBank> getBanks() {
        return banks;
    }

    public void setBanks(List<MpBank> banks) {
        this.banks = banks;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBankNumber(String bankNumber) 
    {
        this.bankNumber = bankNumber;
    }

    public String getBankNumber() 
    {
        return bankNumber;
    }
    public void setBankAccountName(String bankAccountName) 
    {
        this.bankAccountName = bankAccountName;
    }

    public String getBankAccountName() 
    {
        return bankAccountName;
    }
    public void setBankName(String bankName) 
    {
        this.bankName = bankName;
    }

    public String getBankName() 
    {
        return bankName;
    }
    public void setBankAddress(String bankAddress) 
    {
        this.bankAddress = bankAddress;
    }

    public String getBankAddress() 
    {
        return bankAddress;
    }
    public void setIsDel(Integer isDel) 
    {
        this.isDel = isDel;
    }

    public Integer getIsDel() 
    {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bankNumber", getBankNumber())
            .append("bankAccountName", getBankAccountName())
            .append("bankName", getBankName())
            .append("bankAddress", getBankAddress())
            .append("createTime", getCreateTime())
            .append("isDel", getIsDel())
            .toString();
    }
}
